import { createWebHistory, createRouter } from 'vue-router'

import HomeView from '../views/home.vue'
import Zhang from '../views/zhangmeixin/zhangmeixin1212.vue'

const routes = [
  {
    path: '/home',
    component: HomeView,
    children: [
      {
        path: 'zhangmeixin1212',
        component: Zhang,
      }
    ]
  },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})
export default router